import Cookies from 'js-cookie'
// cookie key 常量定义
const ProfileMenuKey = 'profilemenukey'
// cookie设置方法
export function getMenus() {
  return Cookies.get(ProfileMenuKey)
}
export function setMenuByName(name) {
  return Cookies.set(ProfileMenuKey, name)
}
export function removeSettingMenu() {
  return Cookies.remove(ProfileMenuKey)
}
